Scheduler for WPF and Silverlight | ComponentOne
C1.C1Schedule Namespace / AppointmentList Class / Sort Method / Sort(IComparer<Appointment>) Method
The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.

In This Topic
    Sort(IComparer<Appointment>) Method
    In This Topic
    Sorts the elements in the entire AppointmentList using the specified comparer.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Sort( _
       ByVal comparer As IComparer(Of Appointment) _
    ) 
    public void Sort( 
       IComparer<Appointment> comparer
    )

    Parameters

    comparer
    The IComparer{Appointment} implementation to use when comparing elements, or a null reference (Nothing in Visual Basic) to use the default comparer.
    See Also